diff --git a/xml/tests/testData/documentation/QuickDocumentationHtml4Tag.expected.html b/xml/tests/testData/documentation/QuickDocumentationHtml4Tag.expected.html index 8d1bcdaf5a33..83d280f46aae 100644 --- a/xml/tests/testData/documentation/QuickDocumentationHtml4Tag.expected.html +++ b/xml/tests/testData/documentation/QuickDocumentationHtml4Tag.expected.html @@ -4,7 +4,7 @@
Chrome 1, Chrome Android 18, Edge 12, Firefox 1, Firefox Android 4, Opera 15, Safari 1, Safari iOS 1 -
Baseline since 2018 +
Baseline since 2015
The <body> HTML element represents the content of an HTML document. There can be only one <body> element in a document.
Chrome 3, Chrome Android 18, Edge 12, Firefox 3.5, Firefox Android 4, Opera 10.5, Safari 3.1, Safari iOS 3 -
Baseline since 2018 +
Baseline since 2015
The stalled event is fired when the user agent is trying to fetch media data, but data is unexpectedly not forthcoming.
This event is not cancelable and does not bubble.
diff --git a/xml/tests/testData/documentation/QuickDocumentationHtml5Script.expected.html b/xml/tests/testData/documentation/QuickDocumentationHtml5Script.expected.html
index 5aa903cf67ee..c2a097394adf 100644
--- a/xml/tests/testData/documentation/QuickDocumentationHtml5Script.expected.html
+++ b/xml/tests/testData/documentation/QuickDocumentationHtml5Script.expected.html
@@ -4,7 +4,7 @@
Chrome 1, Chrome Android 18, Edge 12, Firefox 1, Firefox Android 4, Opera 12.1, Safari 3, Safari iOS 2 -
Baseline since 2018 +
Baseline since 2015
The <script> HTML element is used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The <script> element can also be used with other languages, such as WebGL's GLSL shader programming language and JSON.
Chrome 1, Chrome Android 18, Edge 12, Firefox 1.5, Firefox Android 4, Opera 8, Safari 3, Safari iOS 2 -
Baseline since 2018 +
Baseline since 2015
The <svg> SVG element is a container that defines a new coordinate system and viewport. It is used as the outermost element of SVG documents, but it can also be used to embed an SVG fragment inside an SVG or HTML document.
Chrome 1, Chrome Android 18, Edge 12, Firefox 1.5, Firefox Android 4, Opera 8, Safari 3, Safari iOS 2 -
Baseline since 2018 +
Baseline since 2015
The <image> SVG element includes images inside SVG documents. It can display raster image files or other SVG files.
The only image formats SVG software must support are JPEG, PNG, and other SVG files. Animated GIF behavior is undefined. diff --git a/xml/tests/testData/documentation/QuickDocumentationHtml5Tag.expected.html b/xml/tests/testData/documentation/QuickDocumentationHtml5Tag.expected.html index 8d1bcdaf5a33..83d280f46aae 100644 --- a/xml/tests/testData/documentation/QuickDocumentationHtml5Tag.expected.html +++ b/xml/tests/testData/documentation/QuickDocumentationHtml5Tag.expected.html @@ -4,7 +4,7 @@
Chrome 1, Chrome Android 18, Edge 12, Firefox 1, Firefox Android 4, Opera 15, Safari 1, Safari iOS 1 -
Baseline since 2018 +
Baseline since 2015
The <body> HTML element represents the content of an HTML document. There can be only one <body> element in a document.
Chrome 37, Chrome Android 37, Edge 79, Firefox 98, Firefox Android 98, Opera 24, Safari 15.4, Safari iOS 15.4 -
Baseline since 2024 +
Baseline since 2022
The <dialog> HTML element represents a modal or non-modal dialog box or other interactive component, such as a dismissible alert, inspector, or subwindow.
The HTML <dialog> element is used to create both modal and non-modal dialog boxes. Modal dialog boxes interrupt interaction with the rest of the page being inert, while non-modal dialog boxes allow interaction with the rest of the page.
diff --git a/xml/tests/testData/documentation/SvgDoc.svg.expected.completion.html b/xml/tests/testData/documentation/SvgDoc.svg.expected.completion.html
index 01914421434d..103da8c358c5 100644
--- a/xml/tests/testData/documentation/SvgDoc.svg.expected.completion.html
+++ b/xml/tests/testData/documentation/SvgDoc.svg.expected.completion.html
@@ -4,7 +4,7 @@
Chrome 1, Chrome Android 18, Edge 12, Firefox 1.5, Firefox Android 4, Opera 8, Safari 3.1, Safari iOS 2 -
Baseline since 2018 +
Baseline since 2015
The <rect> SVG element is a basic SVG shape that draws rectangles, defined by their position, width, and height. The rectangles may have their corners rounded.
Chrome 1, Chrome Android 18, Edge 12, Firefox 1.5, Firefox Android 4, Opera 8, Safari 3.1, Safari iOS 2 -
Baseline since 2018 +
Baseline since 2015
The <rect> SVG element is a basic SVG shape that draws rectangles, defined by their position, width, and height. The rectangles may have their corners rounded.
Chrome 80, Chrome Android 80, Edge 80, Firefox 1, Firefox Android 4, Opera 67, Safari 13.1, Safari iOS 13.4 -
Baseline since 2022 +
Baseline since 2020
The stroke-width attribute is a presentation attribute defining the width of the stroke to be applied to the shape. It applies to any SVG shape or text-content element, but as an inherited property, it may be applied to elements such as <g> and still have the intended effect on descendant elements' strokes.
Chrome 80, Chrome Android 80, Edge 80, Firefox 1, Firefox Android 4, Opera 67, Safari 13.1, Safari iOS 13.4 -
Baseline since 2022 +
Baseline since 2020
The stroke-width attribute is a presentation attribute defining the width of the stroke to be applied to the shape. It applies to any SVG shape or text-content element, but as an inherited property, it may be applied to elements such as <g> and still have the intended effect on descendant elements' strokes.
Chrome 1, Chrome Android 18, Edge 12, Firefox 1.5, Firefox Android 4, Opera 8, Safari 3, Safari iOS 3 -
Baseline since 2018 +
Baseline since 2015
The viewBox attribute defines the position and dimension, in user space, of an SVG viewport.
The value of the viewBox attribute is a list of four numbers separated by whitespace and/or a comma: min-x, min-y, width, and height. min-x and min-y represent the smallest X and Y coordinates that the viewBox may have (the origin coordinates of the viewBox) and the width and height specify the viewBox size. The resulting viewBox is a rectangle in user space mapped to the bounds of the viewport of an SVG element (not the browser viewport).
diff --git a/xml/xml-psi-impl/src/com/intellij/documentation/mdn/MdnDocumentation.kt b/xml/xml-psi-impl/src/com/intellij/documentation/mdn/MdnDocumentation.kt
index 4eb294895863..640722a732a3 100644
--- a/xml/xml-psi-impl/src/com/intellij/documentation/mdn/MdnDocumentation.kt
+++ b/xml/xml-psi-impl/src/com/intellij/documentation/mdn/MdnDocumentation.kt
@@ -325,7 +325,7 @@ class MdnSymbolDocumentationAdapter(
notSupportedEngines.map { it.displayName }.sorted().joinToString(", ")))
}
else {
- (baseline.highDate ?: baseline.lowDate)?.dropWhile { !it.isDigit() }?.let { date ->
+ (baseline.lowDate ?: baseline.highDate )?.dropWhile { !it.isDigit() }?.let { date ->
result.append("
") result.append(MdnBundle.message("mdn.documentation.baseline.since", date.takeWhile { it.isDigit() })) }