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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/motion-path/offsetParent.html

Issue 2369143003: CSS Motion Path: offset-position,offset-path establish stacking context (Closed)
Patch Set: concise Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <section id="container" style="will-change: transform">
5 <div id="d1" style="offset-position: 0% 0%">
6 <span id="s1"></span>
7 </div>
8 <div id="d2" style="offset-path: path('m 0 0 z')">
9 <span id="s2"></span>
10 </div>
11 <div id="d3" style="offset-distance: 100%">
12 <span id="s3"></span>
13 </div>
14 <div id="d4" style="offset-rotation: 360deg">
15 <span id="s4"></span>
16 </div>
17 <div id="d5" style="offset-anchor: bottom right">
18 <span id="s5"></span>
19 </div>
20 </section>
21 <script>
22 'use strict';
23 test(function() {
24 assert_equals(s1.offsetParent, d1);
25 }, "inside offset-position");
26 test(function() {
27 assert_equals(s2.offsetParent, d2);
28 }, "inside offset-path");
29 test(function() {
30 assert_equals(s3.offsetParent, container);
31 }, "inside offset-distance");
32 test(function() {
33 assert_equals(s4.offsetParent, container);
34 }, "inside offset-rotation");
35 test(function() {
36 assert_equals(s5.offsetParent, container);
37 }, "inside offset-anchor");
38 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698