Revert "Make 3D Rendering Context follow DOM tree for absolute/fixed position." #28825
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This reverts commit ed024d718b866ebc95f9eaed49a6c6dc546113d1.
Reason for revert: The original rationale that this would not change
any behavior without TransformInterop enabled was incorrect, because
backface-visibility: hidden (which does not create a containing block
for absolute/fixed) causes NeedsTransform() to be true, which thus
causes UpdateTransform to update rendering_context_id and
should_flatten_inherited_transform.
Original change's description:
Bug: 1189985
Fixed: 1204790, 1204853
Change-Id: Idb2a635edd9b762454bb23c536cb37bc2ac7330f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2873105
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: David Baron <dbaron@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#879166}