Bug 148074 - Unprefixed CSS transition should inherit its value from its parent element
Summary: Unprefixed CSS transition should inherit its value from its parent element
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jaehun Lim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-17 00:40 PDT by Jaehun Lim
Modified: 2016-10-24 23:37 PDT (History)
2 users (show)

See Also:


Attachments
Patch (10.63 KB, patch)
2015-08-17 00:50 PDT, Jaehun Lim
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaehun Lim 2015-08-17 00:40:11 PDT
Unprefixed transition doesn't support inheritance even though its value is 'inherit' unlike prefixed transition.
Comment 1 Jaehun Lim 2015-08-17 00:50:51 PDT
Created attachment 259138 [details]
Patch
Comment 2 Simon Fraser (smfr) 2015-08-17 17:41:22 PDT
Comment on attachment 259138 [details]
Patch

Does the inherited transition actually work correctly?
Comment 3 Jaehun Lim 2015-08-17 18:48:57 PDT
(In reply to comment #2)
> Comment on attachment 259138 [details]
> Patch
> 
> Does the inherited transition actually work correctly?

Yes, it works.

My test CSS:

#parent {
    text-indent: 0px;
    transition-property: text-indent;
    transition-duration: 3s; 
}
 
#child {
    transition: inherit;
}
 
#child:hover {
    text-indent: 100px;
}

Text in #child is moving.
Comment 4 Jaehun Lim 2015-09-02 00:07:41 PDT
review ?