Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing inline elements filtering rendering.
It required to move create_stacking_context() outside of BlockFlow, as a method of FragmentDisplayListBuilding. This allowed the reuse for inline fragments that need a stacking context. As we now create stacking contexts (SC) for inline elements, this stresses the code in Fragment that calculates the need for a SC. For while, we create a SC only if there are filters associated with the Inline element. Companion issue is #5812.
- Loading branch information
Showing
5 changed files
with
112 additions
and
70 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
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,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<style type="text/css"> | ||
|
||
.ex { | ||
<!-- display: block; --> | ||
-webkit-filter: opacity(25%); | ||
-moz-filter: opacity(25%); | ||
filter: opacity(25%); | ||
} | ||
|
||
</style> | ||
</head> | ||
<body> | ||
<img class="ex" src="rust.png"> | ||
</body> | ||
</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,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<style type="text/css"> | ||
|
||
.ex { | ||
display: block; | ||
-webkit-filter: opacity(25%); | ||
-moz-filter: opacity(25%); | ||
filter: opacity(25%); | ||
} | ||
|
||
</style> | ||
</head> | ||
<body> | ||
<img class="ex" src="rust.png"> | ||
</body> | ||
</html> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.