Skip to content

Commit

Permalink
HTML: remove deprecated <style type='text/css'> attribute (#20577)
Browse files Browse the repository at this point in the history
* HTML: remove deprecated <style type='text/css'> attribute

* revert the change in release doc
  • Loading branch information
OnkarRuikar authored Sep 12, 2022
1 parent 01ff544 commit 457f4ed
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions files/en-us/web/api/xsltprocessor/generating_html/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ A template matching the root node of the XML document is created and used to cre
<xsl:value-of select="/myNS:Article/myNS:Title"/>
</title>

<style type="text/css">
<style>
.myBox {margin:10px 155px 0 50px; border: 1px dotted #639ACE; padding:0 5px 0 5px;}
</style>

Expand Down Expand Up @@ -135,7 +135,7 @@ The final XSLT stylesheet looks as follows:
<xsl:value-of select="/myNS:Article/myNS:Title"/>
</title>

<style type="text/css">
<style>
.myBox {margin:10px 155px 0 50px; border: 1px dotted #639ACE; padding:0 5px 0 5px;}
</style>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/svg/attribute/class/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ You can use this class to style SVG content using CSS.
viewPort="0 0 120 120"
version="1.1"
xmlns="http://www.w3.org/2000/svg">
<style type="text/css">
<style>
<![CDATA[
rect.rectClass {
stroke: #000066;
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/svg/attribute/id/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ You can use this attribute with any SVG element.

```html
<svg width="120" height="120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg">
<style type="text/css">
<style>
<![CDATA[
#smallRect {
stroke: #000066;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This is done completely in W3C Standards–XHTML, SVG, and JavaScript–no Flash
xmlns:svg="http://www.w3.org/2000/svg">
<head>
<title>A swarm of motes</title>
<style type='text/css'>
<style>
<![CDATA[
label, input
{
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/svg/tutorial/fills_and_strokes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Or it can be moved to a special style section that you include. Instead of shovi
<?xml version="1.0" standalone="no"?>
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg" version="1.1">
<defs>
<style type="text/css"><![CDATA[
<style><![CDATA[
#MyRect {
stroke: black;
fill: red;
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/svg/tutorial/gradients/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Linear gradients change along a straight line. To insert one, you create a {{SVG
<stop offset="50%" stop-color="black" stop-opacity="0"/>
<stop offset="100%" stop-color="blue"/>
</linearGradient>
<style type="text/css"><![CDATA[
<style><![CDATA[
#rect1 { fill: url(#Gradient1); }
.stop1 { stop-color: red; }
.stop2 { stop-color: black; stop-opacity: 0; }
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/svg/tutorial/svg_fonts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ You can use `@font-face` to reference remote (and not so remote) fonts:
<!-- and so on -->
</font>

<style type="text/css">
<style>
@font-face {
font-family: "Super Sans";
src: url(#Super_Sans);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The basic example will load an XML file and apply a XSL transformation on it. Th
<xsl:value-of select="/myNS:Article/myNS:Title"/>
</title>

<style type="text/css">
<style>
.myBox {margin:10px 155px 0 50px; border: 1px dotted #639ACE; padding:0 5px 0 5px;}
</style>

Expand Down

0 comments on commit 457f4ed

Please sign in to comment.