Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / opacity-change-on-overflow-float.html
blob017c7bad12ddd2175a2cae8d22c4c3a1a64cabce
1 <html>
2 <head>
3 <style>
4 div {
5 width: 100px;
6 height:100px;
7 overflow:hidden;
8 float:left;
11 .green {
12 background-color:green
15 .red {
16 background-color:red
18 </style>
20 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
21 <script>
22 function repaintTest()
24 document.getElementsByClassName("green")[0].style.opacity = 1;
26 </script>
28 </head>
29 <body onload="runRepaintTest()">
30 <p>Repaint test for <rdar><!--
31 Oh man, let me explain why this is here. In the beginning, there was an
32 <rdar:://problem/6869687> link to the great and mysterious rdar. However, that
33 link was invisible because whoever added it decided to enclose the link in
34 angle brackets.
36 There was peace in the land, until we implemented the HTML5 parsing algorithm,
37 which changed the name of the mysterious rdar element to not include //
38 charaters. Rather than regenerate the expected results (which were platform
39 specific), our hero changed the rdar link to an <rdar> element and hand-edited
40 the expected render tree.
42 And on the third day, he rested. --> REGRESSION (r41203): Facebook friend suggestions disappear on update. Make sure when a layer switches
43 from being self-painting to non-self-painting that a layout happens to fix up the floating objects lists. You should see a 100x100 green square below.
44 If you see any red, the test has failed.
45 </p>
46 <div class="red">
47 <div class="green" style="opacity:0.5">
48 </div>
49 </div>