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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 1877763002: METER with -webkit-appearance:none should be rendered with the normal CSS way. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop LayoutTheme change, add TODO comments 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved.
(...skipping 1855 matching lines...) Expand 10 before | Expand all | Expand 10 after
1866 1866
1867 if (needsFullLayoutTreeUpdate() || node.needsStyleRecalc() || node.needsStyl eInvalidation()) 1867 if (needsFullLayoutTreeUpdate() || node.needsStyleRecalc() || node.needsStyl eInvalidation())
1868 return true; 1868 return true;
1869 for (const ContainerNode* ancestor = LayoutTreeBuilderTraversal::parent(node ); ancestor; ancestor = LayoutTreeBuilderTraversal::parent(*ancestor)) { 1869 for (const ContainerNode* ancestor = LayoutTreeBuilderTraversal::parent(node ); ancestor; ancestor = LayoutTreeBuilderTraversal::parent(*ancestor)) {
1870 if (ancestor->needsStyleRecalc() || ancestor->needsStyleInvalidation() | | ancestor->needsAdjacentStyleRecalc()) 1870 if (ancestor->needsStyleRecalc() || ancestor->needsStyleInvalidation() | | ancestor->needsAdjacentStyleRecalc())
1871 return true; 1871 return true;
1872 } 1872 }
1873 return false; 1873 return false;
1874 } 1874 }
1875 1875
1876 void Document::updateLayoutTreeForNode(Node* node) 1876 void Document::updateLayoutTreeForNode(const Node* node)
1877 { 1877 {
1878 DCHECK(node); 1878 DCHECK(node);
1879 if (!needsLayoutTreeUpdateForNode(*node)) 1879 if (!needsLayoutTreeUpdateForNode(*node))
1880 return; 1880 return;
1881 updateLayoutTree(); 1881 updateLayoutTree();
1882 } 1882 }
1883 1883
1884 void Document::updateLayoutIgnorePendingStylesheetsForNode(Node* node) 1884 void Document::updateLayoutIgnorePendingStylesheetsForNode(Node* node)
1885 { 1885 {
1886 DCHECK(node); 1886 DCHECK(node);
(...skipping 4087 matching lines...) Expand 10 before | Expand all | Expand 10 after
5974 #ifndef NDEBUG 5974 #ifndef NDEBUG
5975 using namespace blink; 5975 using namespace blink;
5976 void showLiveDocumentInstances() 5976 void showLiveDocumentInstances()
5977 { 5977 {
5978 Document::WeakDocumentSet& set = Document::liveDocumentSet(); 5978 Document::WeakDocumentSet& set = Document::liveDocumentSet();
5979 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 5979 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
5980 for (Document* document : set) 5980 for (Document* document : set)
5981 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get String().utf8().data()); 5981 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get String().utf8().data());
5982 } 5982 }
5983 #endif 5983 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | third_party/WebKit/Source/core/html/HTMLMeterElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698