Bug 90574

Summary: REGRESSION (r98542?): writing-mode-dependent properties applied incorrectly, apparently due to bad caching
Product: WebKit Reporter: mitz
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Major CC: kling, koivisto, webkit-bug-importer
Priority: P1 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test case none

mitz
Reported 2012-07-04 12:47:01 PDT
Created attachment 150833 [details] Test case To reproduce, open the test case, then open the Web Inspector in DOM tree mode, then close the Web Inspector, then reload the page (there may be other ways to reproduce the bug). After doing so, even after repeated reloading of the page, the second <div class="test"> gets both a width and a height of 100px, and gets borders on all four sides. Apparently findFromMatchedPropertiesCache() decides to copy from the style of the first <div class="test"> into the style of the second one, despite their writing mode difference.
Attachments
Test case (324 bytes, text/html)
2012-07-04 12:47 PDT, mitz
no flags
Radar WebKit Bug Importer
Comment 1 2012-07-04 12:47:55 PDT
mitz
Comment 2 2012-07-04 12:55:35 PDT
Looks like this was caused by <http://trac.webkit.org/r98542>.
Antti Koivisto
Comment 3 2012-07-09 05:56:40 PDT
The test case is confusing. What does the correct rendering look like? Inspecting the test changes (corrects?) the rendering but I don't see anything persisting over reloads. The cache is per-document so it shouldn't be possible.
mitz
Comment 4 2012-07-09 10:28:03 PDT
(In reply to comment #3) > The test case is confusing. What does the correct rendering look like? Black upside-down L, no blue. > Inspecting the test changes (corrects?) the rendering but I don't see anything persisting over reloads. The cache is per-document so it shouldn't be possible. That’s a good start :-)
Note You need to log in before you can comment on or make changes to this bug.