Bug 148074

Summary: Unprefixed CSS transition should inherit its value from its parent element
Product: WebKit Reporter: Jaehun Lim <ljaehun.lim>
Component: CSSAssignee: Jaehun Lim <ljaehun.lim>
Status: RESOLVED INVALID    
Severity: Normal CC: dino, simon.fraser
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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 ?