[Webkit-unassigned] [Bug 106535] computedStyle() doesn't report intermediate values during a transition of a pseudo element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 10 02:27:37 PST 2013


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





--- Comment #1 from Elliott Sprehn <esprehn at chromium.org>  2013-01-10 02:29:30 PST ---
This is a really old FIXME:

RenderStyle* Element::computedStyle(PseudoId pseudoElementSpecifier)
{
    // FIXME: Find and use the renderer from the pseudo element instead of the actual element so that the 'length'
    // properties, which are only known by the renderer because it did the layout, will be correct and so that the
    // values returned for the ":selection" pseudo-element will be correct.

We need to get the pseudoElement(BEFORE or AFTER) and use their renderStyle() instead.

We also need to fix CSSComputedStyleDeclaration::getPropertyCSSValue as it seems the logic for pseudo element styles is wrong since we consult the cached pseudo style from the parent element in the composited case.

-- 
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