[Webkit-unassigned] [Bug 125756] [CSSRegions] Incorrect repaint of fixed element with transformed parent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 17 09:25:47 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=125756


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #219425|review?                     |review+
               Flag|                            |




--- Comment #5 from Darin Adler <darin at apple.com>  2013-12-17 09:23:52 PST ---
(From update of attachment 219425)
View in context: https://bugs.webkit.org/attachment.cgi?id=219425&action=review

> Source/WebCore/rendering/FlowThreadController.cpp:290
> +// The list of layers is returned already sorted by z-Index.

I think the word “already” only makes sense here if you know how the code used to work and so should be removed. The “I” in “z-index” should not be capitalized.

> Source/WebCore/rendering/FlowThreadController.cpp:301
> +        // Iterate over the lists of fixed positioned layers collected at flow thread layer level

I don’t understand how this comment adds to the readability of the code. A for loop already says “iterate”. The if statements already says “fixed position” and the variable name also says “fixed positioned layers”, albeit with “positioned” abbreviated to “pos”. The other variable name says “flow thread layer”. The comment just repeats exactly what the code says. Please omit such comments.

> Source/WebCore/rendering/FlowThreadController.cpp:323
> +    // Sort the fixed layers list

Same thing about this comment. Fine to write this as a placeholder before writing the code, but once you write the code the comment seems superfluous.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list