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

Unified Diff: third_party/WebKit/Source/core/html/HTMLOListElement.h

Issue 2902723006: Measure the usage of <ol>.start with |reversed| and no |start| attribute. (Closed)
Patch Set: rebased Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLOListElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLOListElement.h b/third_party/WebKit/Source/core/html/HTMLOListElement.h
index 86eb3eba773b406509e78dedeadbf2ebdbb2d2c1..8c47330397aa00446b8a7a997004e447dbd35299 100644
--- a/third_party/WebKit/Source/core/html/HTMLOListElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLOListElement.h
@@ -33,9 +33,7 @@ class HTMLOListElement final : public HTMLElement {
public:
DECLARE_NODE_FACTORY(HTMLOListElement);
- int start() const {
- return has_explicit_start_ ? start_ : (is_reversed_ ? ItemCount() : 1);
- }
+ int start() const;
void setStart(int);
bool IsReversed() const { return is_reversed_; }
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/html/HTMLOListElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698