mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
WEB-61632 MDN: update test data
GitOrigin-RevId: 25e1eec4ebeb363137533322380bf5623770701d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5564fedfa4
commit
40e6ba629d
@@ -33,7 +33,7 @@ public class HtmlDocumentationTest extends BasePlatformTestCase {
|
||||
</body>
|
||||
</html>""",
|
||||
"<div class='definition'><pre>body</pre></div>\n<div class='content'>" +
|
||||
"<p>The <strong><code><body></code></strong> <a href=\"https://developer.mozilla.org/en-us/docs/Web/HTML\">HTML</a> " +
|
||||
"The <strong><code><body></code></strong> <a href=\"https://developer.mozilla.org/en-us/docs/Web/HTML\">HTML</a> " +
|
||||
"element represents the content of",
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/html/element/body"));
|
||||
}
|
||||
@@ -47,7 +47,7 @@ public class HtmlDocumentationTest extends BasePlatformTestCase {
|
||||
</body>
|
||||
</html>""",
|
||||
"<div class='definition'><pre>dialog</pre></div>\n<div class='content'>" +
|
||||
"<p>The <strong><code><dialog></code></strong> <a href=\"https://developer.mozilla.org/en-us/docs/Web/HTML\">HTML</a> " +
|
||||
"The <strong><code><dialog></code></strong> <a href=\"https://developer.mozilla.org/en-us/docs/Web/HTML\">HTML</a> " +
|
||||
"element represents a dialog box",
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/html/element/dialog"));
|
||||
}
|
||||
@@ -60,7 +60,7 @@ public class HtmlDocumentationTest extends BasePlatformTestCase {
|
||||
</body>
|
||||
</html>""",
|
||||
"<div class='definition'><pre>onload</pre></div>\n<div class='content'>Function to call when the document has finished loading.",
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/html/element/body#attr-onload"));
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/html/element/body#onload"));
|
||||
}
|
||||
|
||||
public void testQuickDocumentationHtml5Svg() {
|
||||
@@ -73,7 +73,7 @@ public class HtmlDocumentationTest extends BasePlatformTestCase {
|
||||
</body>
|
||||
</html>""",
|
||||
"<div class='definition'><pre>svg</pre></div>\n<div class='content'>" +
|
||||
"<p>The <code>svg</code> element is a container that defines a new coordinate system and",
|
||||
"The <code>svg</code> element is a container that defines a new coordinate system and",
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/svg/element/svg"));
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ public class HtmlDocumentationTest extends BasePlatformTestCase {
|
||||
</body>
|
||||
</html>""",
|
||||
"<div class='definition'><pre>image</pre></div>\n<div class='content'>" +
|
||||
"<p><span class=\"seoSummary\">The <strong><code><image></code></strong> SVG element includes images inside SVG documents.",
|
||||
"The <strong><code><image></code></strong> SVG element includes images inside SVG documents.",
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/svg/element/image"));
|
||||
}
|
||||
|
||||
@@ -103,7 +103,8 @@ public class HtmlDocumentationTest extends BasePlatformTestCase {
|
||||
</body>
|
||||
</html>""",
|
||||
"<div class='definition'><pre>math</pre></div>\n<div class='content'>" +
|
||||
"<p class=\"summary\">The top-level element in MathML is <code><math></code>.",
|
||||
"The <strong><code><math></code></strong> <a href=\"https://developer.mozilla.org/en-us/docs/Web/MathML\">MathML</a> " +
|
||||
"element is the top-level MathML element",
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/mathml/element/math"));
|
||||
}
|
||||
|
||||
@@ -119,7 +120,8 @@ public class HtmlDocumentationTest extends BasePlatformTestCase {
|
||||
</body>
|
||||
</html>""",
|
||||
"<div class='definition'><pre>mrow</pre></div>\n<div class='content'>" +
|
||||
"<p class=\"summary\">The MathML <code><mrow></code> element is used to group sub-expressions",
|
||||
"The <strong><code><mrow></code></strong> <a href=\"https://developer.mozilla.org/en-us/docs/Web/MathML\">MathML</a> " +
|
||||
"element is used to group sub-expressions",
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/mathml/element/mrow"));
|
||||
}
|
||||
|
||||
@@ -132,8 +134,8 @@ public class HtmlDocumentationTest extends BasePlatformTestCase {
|
||||
</body>
|
||||
</html>""",
|
||||
"<div class='definition'><pre>body</pre></div>\n<div class='content'>" +
|
||||
"<p>The <strong><code><body></code></strong> <a href=\"https://developer.mozilla.org/en-us/docs/Web/HTML\">HTML</a> " +
|
||||
"element represents the content of an HTML document.",
|
||||
"The <strong><code><body></code></strong> <a href=\"https://developer.mozilla.org/en-us/docs/Web/HTML\">HTML</a> " +
|
||||
"element represents the content of an HTML document.",
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/html/element/body"));
|
||||
}
|
||||
|
||||
@@ -146,13 +148,13 @@ public class HtmlDocumentationTest extends BasePlatformTestCase {
|
||||
</body>
|
||||
</html>""",
|
||||
"<div class='definition'><pre>onload</pre></div>\n<div class='content'>Function to call when the document has finished loading.",
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/html/element/body#attr-onload"));
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/html/element/body#onload"));
|
||||
}
|
||||
|
||||
public void testQuickDocumentationHtml5Script() {
|
||||
doTest("<scr<caret>ipt></script>",
|
||||
"<div class='definition'><pre>script</pre></div>\n<div class='content'>" +
|
||||
"<p>The <strong><code><script></code></strong> <a href=\"https://developer.mozilla.org/en-us/docs/Web/HTML\">HTML</a> " +
|
||||
"The <strong><code><script></code></strong> <a href=\"https://developer.mozilla.org/en-us/docs/Web/HTML\">HTML</a> " +
|
||||
"element is used to embed executable",
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/html/element/script"));
|
||||
}
|
||||
@@ -160,7 +162,7 @@ public class HtmlDocumentationTest extends BasePlatformTestCase {
|
||||
|
||||
public void testQuickDocumentationHtml5MediaEvents() {
|
||||
doTest("<video on<caret>stalled=''>",
|
||||
"<div class='definition'><pre>onstalled</pre></div>\n<div class='content'><p><span class=\"seoSummary\">" +
|
||||
"<div class='definition'><pre>onstalled</pre></div>\n<div class='content'>" +
|
||||
"The <code>stalled</code> event is fired when the user agent is trying to fetch media data",
|
||||
Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/api/htmlmediaelement/stalled_event"));
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<divclass='definition'><pre>rect</pre></div><divclass='content'><p>The<strong><code><rect></code></strong>elementisa<ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Tutorial/Basic_Shapes">basicSVGshape</a>thatdrawsrectangles,definedbytheirposition,width,andheight.Therectanglesmayhavetheircornersrounded.</p></div><tableclass='sections'><tr><tdvalign='top'class='section'><p>Supportedby:</td><tdvalign='top'>Chrome,ChromeAndroid,Edge,Firefox1.5,IE9,Opera8,Safari3.1,SafariiOS2</td></table><divclass='content'>By<ahref='https://developer.mozilla.org/en-us/docs/web/svg/element/rect/contributors.txt'>MozillaContributors</a>,<ahref='https://creativecommons.org/licenses/by-sa/2.5/'>CCBY-SA2.5</a></div>
|
||||
<divclass='definition'><pre>rect</pre></div><divclass='content'>The<strong><code><rect></code></strong>elementisa<ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Tutorial/Basic_Shapes">basicSVGshape</a>thatdrawsrectangles,definedbytheirposition,width,andheight.Therectanglesmayhavetheircornersrounded.</div><tableclass='sections'><tr><tdvalign='top'class='section'><p>Supportedby:</td><tdvalign='top'>Chrome,ChromeAndroid,Edge,Firefox1.5,IE9,Opera8,Safari3.1,SafariiOS2</td></table><divclass='content'>By<ahref='https://developer.mozilla.org/en-us/docs/web/svg/element/rect/contributors.txt'>MozillaContributors</a>,<ahref='https://creativecommons.org/licenses/by-sa/2.5/'>CCBY-SA2.5</a></div>
|
||||
@@ -1 +1 @@
|
||||
<divclass='definition'><pre>rect</pre></div><divclass='content'><p>The<strong><code><rect></code></strong>elementisa<ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Tutorial/Basic_Shapes">basicSVGshape</a>thatdrawsrectangles,definedbytheirposition,width,andheight.Therectanglesmayhavetheircornersrounded.</p></div><tableclass='sections'><tr><tdvalign='top'class='section'><p>Supportedby:</td><tdvalign='top'>Chrome,ChromeAndroid,Edge,Firefox1.5,IE9,Opera8,Safari3.1,SafariiOS2</td></table><divclass='content'>By<ahref='https://developer.mozilla.org/en-us/docs/web/svg/element/rect/contributors.txt'>MozillaContributors</a>,<ahref='https://creativecommons.org/licenses/by-sa/2.5/'>CCBY-SA2.5</a></div>
|
||||
<divclass='definition'><pre>rect</pre></div><divclass='content'>The<strong><code><rect></code></strong>elementisa<ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Tutorial/Basic_Shapes">basicSVGshape</a>thatdrawsrectangles,definedbytheirposition,width,andheight.Therectanglesmayhavetheircornersrounded.</div><tableclass='sections'><tr><tdvalign='top'class='section'><p>Supportedby:</td><tdvalign='top'>Chrome,ChromeAndroid,Edge,Firefox1.5,IE9,Opera8,Safari3.1,SafariiOS2</td></table><divclass='content'>By<ahref='https://developer.mozilla.org/en-us/docs/web/svg/element/rect/contributors.txt'>MozillaContributors</a>,<ahref='https://creativecommons.org/licenses/by-sa/2.5/'>CCBY-SA2.5</a></div>
|
||||
@@ -1 +1 @@
|
||||
<divclass='definition'><pre>stroke-width</pre></div><divclass='content'><p>The<strong><code>stroke-width</code></strong>attributeisapresentationattributedefiningthewidthofthestroketobeappliedtotheshape.</p><p>YoucanusethisattributewiththefollowingSVGelements:</p><ul><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/altGlyph"><code><altGlyph></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/circle"><code><circle></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/ellipse"><code><ellipse></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/line"><code><line></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/path"><code><path></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/polygon"><code><polygon></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/polyline"><code><polyline></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/rect"><code><rect></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/text"><code><text></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/textPath"><code><textPath></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/tref"><code><tref></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/tspan"><code><tspan></code></a></li></ul></div><tableclass='sections'><tr><tdvalign='top'class='section'><p>Supportedby:</td><tdvalign='top'>none</td></table><divclass='content'>By<ahref='https://developer.mozilla.org/en-us/docs/web/svg/attribute/stroke-width/contributors.txt'>MozillaContributors</a>,<ahref='https://creativecommons.org/licenses/by-sa/2.5/'>CCBY-SA2.5</a></div>
|
||||
<divclass='definition'><pre>stroke-width</pre></div><divclass='content'>The<strong><code>stroke-width</code></strong>attributeisapresentationattributedefiningthewidthofthestroketobeappliedtotheshape.<p>YoucanusethisattributewiththefollowingSVGelements:<ul><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/circle"><code><circle></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/ellipse"><code><ellipse></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/line"><code><line></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/path"><code><path></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/polygon"><code><polygon></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/polyline"><code><polyline></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/rect"><code><rect></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/text"><code><text></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/textPath"><code><textPath></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/tref"><code><tref></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/tspan"><code><tspan></code></a></li></ul></div><tableclass='sections'><tr><tdvalign='top'class='section'><p>Supportedby:</td><tdvalign='top'>none</td></table><divclass='content'>By<ahref='https://developer.mozilla.org/en-us/docs/web/svg/attribute/stroke-width/contributors.txt'>MozillaContributors</a>,<ahref='https://creativecommons.org/licenses/by-sa/2.5/'>CCBY-SA2.5</a></div>
|
||||
@@ -1 +1 @@
|
||||
<divclass='definition'><pre>stroke-width</pre></div><divclass='content'><p>The<strong><code>stroke-width</code></strong>attributeisapresentationattributedefiningthewidthofthestroketobeappliedtotheshape.</p><p>YoucanusethisattributewiththefollowingSVGelements:</p><ul><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/altGlyph"><code><altGlyph></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/circle"><code><circle></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/ellipse"><code><ellipse></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/line"><code><line></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/path"><code><path></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/polygon"><code><polygon></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/polyline"><code><polyline></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/rect"><code><rect></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/text"><code><text></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/textPath"><code><textPath></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/tref"><code><tref></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/tspan"><code><tspan></code></a></li></ul></div><tableclass='sections'><tr><tdvalign='top'class='section'><p>Supportedby:</td><tdvalign='top'>none</td></table><divclass='content'>By<ahref='https://developer.mozilla.org/en-us/docs/web/svg/attribute/stroke-width/contributors.txt'>MozillaContributors</a>,<ahref='https://creativecommons.org/licenses/by-sa/2.5/'>CCBY-SA2.5</a></div>
|
||||
<divclass='definition'><pre>stroke-width</pre></div><divclass='content'>The<strong><code>stroke-width</code></strong>attributeisapresentationattributedefiningthewidthofthestroketobeappliedtotheshape.<p>YoucanusethisattributewiththefollowingSVGelements:<ul><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/circle"><code><circle></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/ellipse"><code><ellipse></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/line"><code><line></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/path"><code><path></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/polygon"><code><polygon></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/polyline"><code><polyline></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/rect"><code><rect></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/text"><code><text></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/textPath"><code><textPath></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/tref"><code><tref></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/tspan"><code><tspan></code></a></li></ul></div><tableclass='sections'><tr><tdvalign='top'class='section'><p>Supportedby:</td><tdvalign='top'>none</td></table><divclass='content'>By<ahref='https://developer.mozilla.org/en-us/docs/web/svg/attribute/stroke-width/contributors.txt'>MozillaContributors</a>,<ahref='https://creativecommons.org/licenses/by-sa/2.5/'>CCBY-SA2.5</a></div>
|
||||
@@ -1 +1 @@
|
||||
<divclass='definition'><pre>viewBox</pre></div><divclass='content'><p>The<strong><code>viewBox</code></strong>attributedefinesthepositionanddimension,inuserspace,ofanSVGviewport. </p><p>Thevalueofthe<code>viewBox</code>attributeisalistoffournumbers:<code><var>min-x</var></code>,<code><var>min-y</var></code>,<code><var>width</var></code>and<code><var>height</var></code>.Thenumbersseparatedbywhitespaceand/oracomma,whichspecifyarectangleinuserspacewhichismappedtotheboundsoftheviewport establishedfortheassociatedSVGelement(notthe<ahref="https://developer.mozilla.org/en-us/docs/Glossary/Viewport">browserviewport</a>).</p><p>YoucanusethisattributewiththefollowingSVGelements:</p><ul><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/marker"><code><marker></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/pattern"><code><pattern></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/svg"><code><svg></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/symbol"><code><symbol></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/view"><code><view></code></a>.</li></ul><p>Theexacteffectofthisattributeisinfluencedbythe<code><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Attribute/preserveAspectRatio">preserveAspectRatio</a></code>attribute.</p><pclass="note"><strong>Note:</strong>Valuesfor<code><var>width</var></code>or<code><var>height</var></code>lowerorequalto<code>0</code>disablerenderingoftheelement.</p></div><tableclass='sections'><tr><tdvalign='top'class='section'><p>Supportedby:</td><tdvalign='top'>Chrome,ChromeAndroid,Edge,Firefox1.5,IE9,Opera8,Safari3,SafariiOS3</td></table><divclass='content'>By<ahref='https://developer.mozilla.org/en-us/docs/web/svg/element/svg#attr-viewbox/contributors.txt'>MozillaContributors</a>,<ahref='https://creativecommons.org/licenses/by-sa/2.5/'>CCBY-SA2.5</a></div>
|
||||
<divclass='definition'><pre>viewBox</pre></div><divclass='content'>The<strong><code>viewBox</code></strong>attributedefinesthepositionanddimension,inuserspace,ofanSVGviewport.<p>Thevalueofthe<code>viewBox</code>attributeisalistoffournumbers:<code>min-x</code>,<code>min-y</code>,<code>width</code>and<code>height</code>.Thenumbers<code>min-x</code>and<code>min-y</code>representthetopleftcoordinatesoftheviewport.Thenumbers<code>width</code>and<code>height</code>representitsdimensions.Thesenumbers,whichareseparatedbywhitespaceand/oracomma,specifyarectangleinuserspacewhichismappedtotheboundsoftheviewportestablishedfortheassociatedSVGelement(notthe<ahref="https://developer.mozilla.org/en-us/docs/Glossary/Viewport">browserviewport</a>).<p>YoucanusethisattributewiththefollowingSVGelements:<ul><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/marker"><code><marker></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/pattern"><code><pattern></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/svg"><code><svg></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/symbol"><code><symbol></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Element/view"><code><view></code></a></li></ul></div><tableclass='sections'><tr><tdvalign='top'class='section'><p>Supportedby:</td><tdvalign='top'>Chrome,ChromeAndroid,Edge,Firefox1.5,IE9,Opera8,Safari3,SafariiOS3</td></table><divclass='content'>By<ahref='https://developer.mozilla.org/en-us/docs/web/svg/attribute/viewbox/contributors.txt'>MozillaContributors</a>,<ahref='https://creativecommons.org/licenses/by-sa/2.5/'>CCBY-SA2.5</a></div>
|
||||
Reference in New Issue
Block a user