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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 1955703004: Don't apply container flip when computing offset to transformed ancestor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index de88310f5786ba342e80b7a2ff454b9945d4e90e..38f30080c28aa950deeee90e7245007f2ad24c38 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -93,6 +93,12 @@ enum MarkingBehavior {
enum MapCoordinatesMode {
IsFixed = 1 << 0,
UseTransforms = 1 << 1,
+
+ // When walking up the containing block chain, applies a container flip for the first
+ // element found, if any, for which isFlippedBlocksWritingMode is true. This option should
+ // generally be used when mapping a source rect in the "physical coordinates with flipped
+ // block-flow" coordinate space (see LayoutBoxModelObject.h) to one in a physical
+ // destination space.
ApplyContainerFlip = 1 << 2,
TraverseDocumentBoundaries = 1 << 3,

Powered by Google App Engine
This is Rietveld 408576698