Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML: remove deprecated <style type='text/css'> attribute #20577

Merged
merged 2 commits into from
Sep 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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