Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Issue 136903004: Changing from opacity less than 1 to opacity 1 should not trigger layout (Closed)

Created:
6 years, 11 months ago by esprehn
Modified:
6 years, 11 months ago
CC:
blink-reviews, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, zoltan1
Visibility:
Public.

Description

Changing from opacity less than 1 to opacity 1 should not trigger layout RenderStyle::diff would always return StyleDifferenceLayout when adding or removing an opacity even though layout is only required if doing so would change if the layer is a stacking context. See: http://www.w3.org/TR/css3-color/#transparency http://www.w3.org/TR/CSS21/zindex.html BUG=334033 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165021

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -6 lines) Patch
A LayoutTests/fast/layers/opacity-change-stacking-context.html View 1 chunk +25 lines, -0 lines 0 comments Download
A + LayoutTests/fast/layers/opacity-change-stacking-context-expected.txt View 1 chunk +3 lines, -5 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
esprehn
6 years, 11 months ago (2014-01-13 23:04:48 UTC) #1
esprehn
6 years, 11 months ago (2014-01-13 23:05:18 UTC) #2
abarth-chromium
I'm not sure I'm really the best person to review this CL, but it LGTM ...
6 years, 11 months ago (2014-01-13 23:08:58 UTC) #3
esprehn
6 years, 11 months ago (2014-01-13 23:25:28 UTC) #4
leviw_travelin_and_unemployed
Okay. LGTM too.
6 years, 11 months ago (2014-01-13 23:57:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/136903004/1
6 years, 11 months ago (2014-01-14 00:05:23 UTC) #6
commit-bot: I haz the power
6 years, 11 months ago (2014-01-14 03:40:12 UTC) #7
Message was sent while issue was closed.
Change committed as 165021

Powered by Google App Engine
This is Rietveld 408576698