layout/reftests/generated-content/quotes-001.xml

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 4
michael@0 5 <!--
michael@0 6
michael@0 7 Test originally from
michael@0 8 http://www.hixie.ch/tests/adhoc/css/quotes/001.xml ,
michael@0 9 relicensed to MPL/LGPL/GPL tri-license per Hixie's permission on IRC,
michael@0 10 March 5, 2009, and upgraded to MPL 2.
michael@0 11
michael@0 12 -->
michael@0 13 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 14 <head>
michael@0 15 <title>CSS and Quotes: Counting Right (Slightly Simpler Version)</title>
michael@0 16 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch" />
michael@0 17 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#quotes"/>
michael@0 18 <meta name="flags" content="" />
michael@0 19 <style type="text/css">
michael@0 20 <![CDATA[
michael@0 21 .party1 * { display: inline; }
michael@0 22 .party1 .a { quotes: "Isn" "'"
michael@0 23 "t" "FAIL!"
michael@0 24 "FAIL!" " i"; }
michael@0 25 .party1 .b { quotes: "" "FAIL!!"
michael@0 26 " wonderful" "!!!"
michael@0 27 " to " " work"
michael@0 28 "see " " [FAIL to]"
michael@0 29 "C" "quotes"
michael@0 30 "S" " "; }
michael@0 31 .party1 .c { quotes: none; }
michael@0 32 .party1 .d { quotes: "FAIL!" "FAIL!"
michael@0 33 "FAIL!" "FAIL!"
michael@0 34 "" ""; }
michael@0 35 .test { margin-left: 2em; }
michael@0 36 .test .no-open:before { content: no-open-quote; }
michael@0 37 .test .open:before { content: open-quote; }
michael@0 38 .test .triple-open:before { content: open-quote open-quote open-quote; }
michael@0 39 .test .no-close:after { content: no-close-quote; }
michael@0 40 .test .triple-no-close:after { content: no-close-quote no-close-quote no-close-quote; }
michael@0 41 .test .close:after { content: close-quote; }
michael@0 42 .test .triple-close:after { content: close-quote close-quote close-quote; }
michael@0 43 .test .no-close-open:before { content: no-close-quote open-quote; }
michael@0 44
michael@0 45 ]]>
michael@0 46 </style>
michael@0 47 </head>
michael@0 48 <body>
michael@0 49
michael@0 50 <!-- this is the same as the 002.xml version except the <br> and <hr> nodes are <div>s. -->
michael@0 51
michael@0 52 <!-- Isn't it wonderful to see CSS quotes work!!!
michael@0 53 --><div class="test c party1"><!-- c 0
michael@0 54 --><div class="a open close"><!-- open a 1 isn
michael@0 55 --></div><!-- close a 0 '
michael@0 56 --><div class="a"><!-- a 0
michael@0 57 --><div class="c open"><!-- open c 1
michael@0 58 --><div class="a open"><!-- open a 2 t
michael@0 59 --></div><!-- a 2
michael@0 60 --></div><!-- c 2
michael@0 61 --><div class="no-open close"><!-- a 3 [FAIL!]
michael@0 62 --></div><!-- close a 2 i
michael@0 63 --></div><!-- a 2
michael@0 64 --><div class="no-close-open no-close a"><!-- a 2 [FAIL!] t
michael@0 65 --></div><!-- close a 1
michael@0 66 --><div class="d no-open no-close"><!-- open d 2 [FAIL!]
michael@0 67 --><div class="open close"><!-- open d 3
michael@0 68 --><div class="open close"><!-- open d 4
michael@0 69 --></div><!-- close d 3
michael@0 70 --></div><!-- close d 2
michael@0 71 --></div><!-- close d 1 [FAIL!]
michael@0 72 --><div class="b no-close"><!-- b 1
michael@0 73 --><div class="triple-no-close"/><!-- close b 0 [FAIL!!]
michael@0 74 --><div class="triple-open"/><!-- open x 3 b 3 "", "wonderful ", "to "
michael@0 75 --><div class="triple-open"/><!-- open x 3 b 6 "see ", "C", "S"
michael@0 76 --><div class="open close"><!-- open b 7 S
michael@0 77 --><div class="close"><!-- b 7
michael@0 78 --><div class="no-close"><!-- b 7
michael@0 79 --><div class="close"><!-- b 7
michael@0 80 --><div class="no-close"><!-- b 7
michael@0 81 --><div class="close"><!-- b 7
michael@0 82 --></div><!-- close b 6 " "
michael@0 83 --></div><!-- close b 5 [" "]
michael@0 84 --></div><!-- close b 4 quotes
michael@0 85 --></div><!-- close b 3 [ FAIL to]
michael@0 86 --></div><!-- close b 2 work
michael@0 87 --></div><!-- close b 1 !!!
michael@0 88 --></div><!-- close b 0 [FAIL!!]
michael@0 89 --></div><!-- b 0
michael@0 90 -->
michael@0 91
michael@0 92 </body>
michael@0 93 </html>

mercurial