Summary: | Add a function hasRenderer() | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Roland Steiner <rolandsteiner> | ||||
Component: | Layout and Rendering | Assignee: | Roland Steiner <rolandsteiner> | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | Normal | CC: | ap, dglazkov, dominicc, hayato, krit, morrita, rwlbuis, webkit.review.bot, zimmermann | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | 62333 | ||||||
Bug Blocks: | 72352 | ||||||
Attachments: |
|
Description
Roland Steiner
2011-06-16 03:57:46 PDT
Created attachment 97435 [details]
Patch
Attachment 97435 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1
Source/WebCore/editing/ReplaceSelectionCommand.cpp:151: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4]
Total errors found: 1 in 111 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Rob, Niko, Dirk -- this is a nice exploration of how much work we have ahead of us on making RenderObject multiplex on Node. Comment on attachment 97435 [details]
Patch
Removing r?, since this is just an exploration at the moment.
> For future implementation changes, notably around SVG shadow tree implementations, separating the latter use-case out into a new function hasRenderer() would be helpful.
Does this mean that non-null renderer() result will not be equivalent to hasRenderer() returning true?
Closing - we have no concrete plan which relies on this. |