Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <!-- |
michael@0 | 3 | Any copyright is dedicated to the Public Domain. |
michael@0 | 4 | http://creativecommons.org/publicdomain/zero/1.0/ |
michael@0 | 5 | --> |
michael@0 | 6 | <!-- Reference case where we've swapped in actual divs (fakeBefore/fakeAfter) |
michael@0 | 7 | for the testcase's ::before and ::after generated content. |
michael@0 | 8 | |
michael@0 | 9 | fakeBefore div is always the first child; fakeAfter is always the last. |
michael@0 | 10 | --> |
michael@0 | 11 | <html> |
michael@0 | 12 | <head> |
michael@0 | 13 | <title>CSS Reftest Reference</title> |
michael@0 | 14 | <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> |
michael@0 | 15 | <meta charset="utf-8"> |
michael@0 | 16 | <style> |
michael@0 | 17 | .flexContainer { |
michael@0 | 18 | display: flex; |
michael@0 | 19 | align-items: flex-end; |
michael@0 | 20 | justify-content: space-between; |
michael@0 | 21 | height: 50px; |
michael@0 | 22 | width: 300px; |
michael@0 | 23 | margin-bottom: 2px; |
michael@0 | 24 | background: lightgray; |
michael@0 | 25 | } |
michael@0 | 26 | .fakeBefore { |
michael@0 | 27 | content: 'b'; |
michael@0 | 28 | background: yellow; |
michael@0 | 29 | } |
michael@0 | 30 | .fakeAfter { |
michael@0 | 31 | content: 'a'; |
michael@0 | 32 | background: lightblue; |
michael@0 | 33 | } |
michael@0 | 34 | </style> |
michael@0 | 35 | </head> |
michael@0 | 36 | <body> |
michael@0 | 37 | <div class="flexContainer"> |
michael@0 | 38 | <div class="fakeBefore">b</div> |
michael@0 | 39 | x |
michael@0 | 40 | <div>y</div> |
michael@0 | 41 | z |
michael@0 | 42 | </div> |
michael@0 | 43 | <div class="flexContainer"> |
michael@0 | 44 | x |
michael@0 | 45 | <div>y</div> |
michael@0 | 46 | z |
michael@0 | 47 | <div class="fakeAfter">a</div> |
michael@0 | 48 | </div> |
michael@0 | 49 | <div class="flexContainer"> |
michael@0 | 50 | <div class="fakeBefore">b</div> |
michael@0 | 51 | x |
michael@0 | 52 | <div>y</div> |
michael@0 | 53 | z |
michael@0 | 54 | <div class="fakeAfter">a</div> |
michael@0 | 55 | </div> |
michael@0 | 56 | </body> |
michael@0 | 57 | </html> |