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

Unified Diff: third_party/WebKit/Source/core/html/HTMLDialogElement.cpp

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: comments Created 4 years, 2 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/html/HTMLDialogElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp b/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
index a3b48a10d6ec7ac439eec4a2fe56b5a9e5dcb90a..9edc5883e4ea38e02f6a61618fe0434fdac93113 100644
--- a/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
@@ -39,7 +39,8 @@ namespace blink {
using namespace HTMLNames;
-// This function chooses the focused element when show() or showModal() is invoked, as described in their spec.
+// This function chooses the focused element when show() or showModal() is
+// invoked, as described in their spec.
static void setFocusForDialog(HTMLDialogElement* dialog) {
Element* focusableDescendant = 0;
Node* next = 0;
@@ -166,8 +167,9 @@ void HTMLDialogElement::showModal(ExceptionState& exceptionState) {
document().addToTopLayer(this);
setBooleanAttribute(openAttr, true);
- // Throw away the AX cache first, so the subsequent steps don't have a chance of queuing up
- // AX events on objects that would be invalidated when the cache is thrown away.
+ // Throw away the AX cache first, so the subsequent steps don't have a chance
+ // of queuing up AX events on objects that would be invalidated when the cache
+ // is thrown away.
inertSubtreesChanged(document());
forceLayoutForCentering();
@@ -192,8 +194,9 @@ void HTMLDialogElement::setNotCentered() {
bool HTMLDialogElement::isPresentationAttribute(
const QualifiedName& name) const {
- // FIXME: Workaround for <https://bugs.webkit.org/show_bug.cgi?id=91058>: modifying an attribute for which there is an attribute selector
- // in html.css sometimes does not trigger a style recalc.
+ // FIXME: Workaround for <https://bugs.webkit.org/show_bug.cgi?id=91058>:
+ // modifying an attribute for which there is an attribute selector in html.css
+ // sometimes does not trigger a style recalc.
if (name == openAttr)
return true;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLDetailsElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLDimension.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698