[Webkit-unassigned] [Bug 88866] ASSERT_NOT_REACHED in StylePropertySet::fontValue when accessing font style property through JS after setting style font size.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 7 05:39:14 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=88866


Alexis Menard (darktears) <alexis at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|webkit-unassigned at lists.web |alexis at webkit.org
                   |kit.org                     |




--- Comment #4 from Alexis Menard (darktears) <alexis at webkit.org>  2013-01-07 05:41:09 PST ---
(In reply to comment #3)
> I have just been moving code. I don't think I have done any intentional behavior changes here. Alexis knows this stuff.

>From what I can see with a quick debug, when setting directly the font-size the rest of the other font properties are not set to a value which is fine as all the longhands (part of a shorthand) are behaving the same (for example, setting background-position only will not set other background properties to "initial"). Now the problem lies in the code reconstructing the font shorthand which assume that the font related properties were set using the font shorthand (which then will set the unspecified longhands to "initial" like any other shorthand) but as shown by the test case it's not always the case. I don't think Antti has anything to do with the problem, the bug has been there for a while I believe. I'll give a shot on a fix.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list