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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2219543003: Elements using @apply shouldn't use the MatchedPropertiesCache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove check Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 // 32 bits 265 // 32 bits
266 266
267 unsigned m_breakBefore : 4; // EBreak 267 unsigned m_breakBefore : 4; // EBreak
268 unsigned m_breakAfter : 4; // EBreak 268 unsigned m_breakAfter : 4; // EBreak
269 unsigned m_breakInside : 2; // EBreak 269 unsigned m_breakInside : 2; // EBreak
270 270
271 unsigned m_styleType : 6; // PseudoId 271 unsigned m_styleType : 6; // PseudoId
272 unsigned m_pseudoBits : 8; 272 unsigned m_pseudoBits : 8;
273 unsigned m_explicitInheritance : 1; // Explicitly inherits a non-inherit ed property 273 unsigned m_explicitInheritance : 1; // Explicitly inherits a non-inherit ed property
274 unsigned m_variableReference : 1; // A non-inherited property references a variable. 274 unsigned m_variableReference : 1; // A non-inherited property references a variable or @apply is used.
275 unsigned m_unique : 1; // Style can not be shared. 275 unsigned m_unique : 1; // Style can not be shared.
276 276
277 unsigned m_emptyState : 1; 277 unsigned m_emptyState : 1;
278 278
279 unsigned m_affectedByFocus : 1; 279 unsigned m_affectedByFocus : 1;
280 unsigned m_affectedByHover : 1; 280 unsigned m_affectedByHover : 1;
281 unsigned m_affectedByActive : 1; 281 unsigned m_affectedByActive : 1;
282 unsigned m_affectedByDrag : 1; 282 unsigned m_affectedByDrag : 1;
283 283
284 // 64 bits 284 // 64 bits
(...skipping 2269 matching lines...) Expand 10 before | Expand all | Expand 10 after
2554 } 2554 }
2555 2555
2556 inline bool ComputedStyle::hasPseudoElementStyle() const 2556 inline bool ComputedStyle::hasPseudoElementStyle() const
2557 { 2557 {
2558 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; 2558 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask;
2559 } 2559 }
2560 2560
2561 } // namespace blink 2561 } // namespace blink
2562 2562
2563 #endif // ComputedStyle_h 2563 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698