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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-z-index-inherit.html

Issue 2047283002: Avoid touching z-index in StyleAdjuster by using an isStackingContext flag instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update old z-index stacking context test Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4 <style>
5 #outer { z-index: auto; opacity: 0.9 }
6 #inner { position: relative; z-index: inherit; }
7 </style>
8 <div id="outer">
9 <div id="inner"></div>
10 </div>
11 <script>
12 test(() => {
13 assert_equals(getComputedStyle(inner).zIndex, 'auto');
14 }, 'z-index should inherit the computed value');
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698