WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
96679
Typo in RenderStyle::isFlippedLinesWritingMode(), small refactoring possible
https://bugs.webkit.org/show_bug.cgi?id=96679
Summary
Typo in RenderStyle::isFlippedLinesWritingMode(), small refactoring possible
Hans Muller
Reported
2012-09-13 12:07:08 PDT
The following comment from RenderStyle.h is wrong, "vertical-rl" should be vertical-lr: // Bottom of the line occurs earlier in the block; modes vertical-rl or horizontal-bt. bool isFlippedLinesWritingMode() const { return writingMode() == LeftToRightWritingMode || writingMode() == BottomToTopWritingMode; } The semantics of the inline functions in WritingMode.h are a little bit difficult to divine, at least they were for me. The functions are essentially duplicated in RenderStyle.h, where they appear with comments. The RenderStyle.h versions should be defined int terms of the inlines defined in WritingMode.h, and the handy comments could be relocated to WritingMode.h.
Attachments
Patch
(3.62 KB, patch)
2012-09-13 12:19 PDT
,
Hans Muller
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Hans Muller
Comment 1
2012-09-13 12:19:49 PDT
Created
attachment 163933
[details]
Patch
WebKit Review Bot
Comment 2
2012-09-13 14:20:49 PDT
Comment on
attachment 163933
[details]
Patch Clearing flags on attachment: 163933 Committed
r128508
: <
http://trac.webkit.org/changeset/128508
>
WebKit Review Bot
Comment 3
2012-09-13 14:20:52 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug