If you dynamicly add a link-tag to the head, and after this change for example the href value of this link tag. Safari constantly seems to redraw elements which are change by changing a .style. propery through testcase. For more info see attached testcase
Created attachment 6178 [details] Testcase
Confirmed bug. Added HasReduction keyword.
This bug is also in Radar: <rdar://4432162>
I tried a test case where the link tag wasn't a style sheet but just an href with the href being updated after appendChild and the flickering isn't observed. Looks like it needs to be a style sheet, but I haven't tried other types of link tags besides that one.
Created attachment 7122 [details] patch uploading patch
hmm, i dont know if i chose the right settings when i uploaded the patch.
Comment on attachment 7122 [details] patch Looks good. One minor style quibble... we leave braces off single-line if statements, so: + if (m_loading) { + getDocument()->stylesheetLoaded(); + } should lose the braces. r=me
(In reply to comment #7) > r=me Doesn't this patch need a LayoutTest, or can this not be tested automatically?
This patch was applied as r13371. Updating state to RESOLVED FIXED.