Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
michael@0 | 1 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/publicdomain/zero/1.0/ |
michael@0 | 4 | --> |
michael@0 | 5 | <svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait"> |
michael@0 | 6 | <!-- |
michael@0 | 7 | This tests that a style change on a <text> element within a resource |
michael@0 | 8 | element like <mask> will cause a reflow of the <text>. |
michael@0 | 9 | --> |
michael@0 | 10 | <style> |
michael@0 | 11 | g { font: 16px sans-serif; } |
michael@0 | 12 | g.a { font-size: 32px; } |
michael@0 | 13 | </style> |
michael@0 | 14 | <defs> |
michael@0 | 15 | <g> |
michael@0 | 16 | <mask id="m" x="0" y="0" width="600" height="400"> |
michael@0 | 17 | <text x="100" y="100" fill="white"><tspan>abc</tspan><tspan>def</tspan></text> |
michael@0 | 18 | </mask> |
michael@0 | 19 | </g> |
michael@0 | 20 | </defs> |
michael@0 | 21 | <rect width="600" height="400" fill="blue" mask="url(#m)"/> |
michael@0 | 22 | <script> |
michael@0 | 23 | function doTest() { |
michael@0 | 24 | document.querySelector("g").setAttribute("class", "a"); |
michael@0 | 25 | document.documentElement.removeAttribute("class"); |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | window.addEventListener("MozReftestInvalidate", doTest, false); |
michael@0 | 29 | window.setTimeout(doTest, 4000); // fallback for running outside reftest |
michael@0 | 30 | </script> |
michael@0 | 31 | </svg> |