-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "LayoutNGView, SVG: Fix invalidation of viewport-dependent size…
…s" to M110 branch This CL fixes a regression by LayoutNGView. - Port a logic in LayoutView::UpdateBlockLayout() to LayoutNGView. - Make ViewLogical*ForBoxSizing() protected. (cherry picked from commit 016da2d) Bug: 1403588 Change-Id: I2f59086a85f5af6464b00ae68fdc10309e1a4aa0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4135360 Auto-Submit: Kent Tamura <tkent@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1089172} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4145578 Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5481@{#166} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information
1 parent
c69f3b9
commit d8917af
Showing
5 changed files
with
124 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
third_party/blink/web_tests/wpt_internal/css/css-masking/mask-image/mask-image-url-svg.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link rel="help" href="https://crbug.com/1403588"> | ||
<link rel="match" href="reference/mask-image-url-svg-ref.html"> | ||
<meta name="fuzzy" content="maxDifference=1-70;totalPixels=0-24"> | ||
<style> | ||
.t { | ||
width: 50vw; | ||
height: 10vh; | ||
background: blue; | ||
margin: 8px; | ||
} | ||
.t-1 { -webkit-mask-image: url("support/mask-2.svg#test-1"); } | ||
.t-2 { -webkit-mask-image: url("support/mask-2.svg#test-2"); } | ||
.t-3 { -webkit-mask-image: url("support/mask-2.svg#test-3"); } | ||
.t-4 { -webkit-mask-image: url("support/mask-2.svg#test-4"); } | ||
.t-5 { -webkit-mask-image: url("support/mask-2.svg#test-5"); } | ||
</style> | ||
</head> | ||
<body> | ||
<div class="t t-1"></div> | ||
<div class="t t-2"></div> | ||
<div class="t t-3"></div> | ||
<div class="t t-4"></div> | ||
<div class="t t-5"></div> | ||
</body> | ||
</html> |
40 changes: 40 additions & 0 deletions
40
...k/web_tests/wpt_internal/css/css-masking/mask-image/reference/mask-image-url-svg-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!DOCTYPE html> | ||
<style> | ||
.full { | ||
width: 50vw; | ||
height: 10vh; | ||
margin: 8px; | ||
} | ||
.half { | ||
width: 25vw; | ||
height: 10vh; | ||
overflow: hidden; | ||
margin: 8px; | ||
} | ||
</style> | ||
|
||
<div class="full"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"> | ||
<rect fill="blue" x="0" width="100%" height="100%" rx="10" /> | ||
</svg> | ||
</div> | ||
<div class="half"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="200%" height="200%"> | ||
<rect fill="blue" x="0" width="100%" height="100%" rx="10" /> | ||
</svg> | ||
</div> | ||
<div class="full"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"> | ||
<rect fill="blue" x="0" width="100%" height="100%" rx="10" /> | ||
</svg> | ||
</div> | ||
<div class="full"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"> | ||
<rect fill="blue" x="0" width="100%" height="100%" rx="10" /> | ||
</svg> | ||
</div> | ||
<div class="full"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"> | ||
<rect fill="blue" x="0" width="100%" height="100%" rx="10" /> | ||
</svg> | ||
</div> |
37 changes: 37 additions & 0 deletions
37
...arty/blink/web_tests/wpt_internal/css/css-masking/mask-image/support/mask-2.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.