[Webkit-unassigned] [Bug 20473] New: How should transition properties repeat when you have duplicates?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 20 17:55:43 PDT 2008


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

           Summary: How should transition properties repeat when you have
                    duplicates?
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cmarrin at apple.com


Today in TOT transition properties are filled out like this:

    transition-property: left, top, width, height, opacity;
    transition-duration: 1s, 2s;

This will expand the duration to: 1s, 2s, 1s, 2s, 1s

according to the CSS rules.

But what should we do if you have duplicate property values like this:

    transition-property: opacity, left, opacity, top, width, opacity, height,
opacity;

Here we have 8 property values, but the 3 duplicates get removed in
RenderStyle::adjustTransitions(), leaving:

    left, top, width, height, opacity

but what should duration be in this case? Does it behave as though the unfilled
values are filled in and then the duplicates removed, or should we remove
duplicates and then fill out the values? Today we do the former, so duration
ends up as:

    2s, 2s, 1s, 1s, 2s

Which should it be?


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



More information about the webkit-unassigned mailing list