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

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: 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
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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 279
280 // 32 bits 280 // 32 bits
281 281
282 unsigned m_breakBefore : 4; // EBreak 282 unsigned m_breakBefore : 4; // EBreak
283 unsigned m_breakAfter : 4; // EBreak 283 unsigned m_breakAfter : 4; // EBreak
284 unsigned m_breakInside : 2; // EBreak 284 unsigned m_breakInside : 2; // EBreak
285 285
286 unsigned m_styleType : 6; // PseudoId 286 unsigned m_styleType : 6; // PseudoId
287 unsigned m_pseudoBits : 8; 287 unsigned m_pseudoBits : 8;
288 unsigned m_explicitInheritance : 1; // Explicitly inherits a non-inherit ed property 288 unsigned m_explicitInheritance : 1; // Explicitly inherits a non-inherit ed property
289 unsigned m_variableReference : 1; // A non-inherited property references a variable. 289 unsigned m_variableReference : 1; // A non-inherited property references a variable or @apply is used.
290 unsigned m_unique : 1; // Style can not be shared. 290 unsigned m_unique : 1; // Style can not be shared.
291 291
292 unsigned m_emptyState : 1; 292 unsigned m_emptyState : 1;
293 293
294 unsigned m_affectedByFocus : 1; 294 unsigned m_affectedByFocus : 1;
295 unsigned m_affectedByHover : 1; 295 unsigned m_affectedByHover : 1;
296 unsigned m_affectedByActive : 1; 296 unsigned m_affectedByActive : 1;
297 unsigned m_affectedByDrag : 1; 297 unsigned m_affectedByDrag : 1;
298 298
299 // 64 bits 299 // 64 bits
(...skipping 2302 matching lines...) Expand 10 before | Expand all | Expand 10 after
2602 } 2602 }
2603 2603
2604 inline bool ComputedStyle::hasPseudoElementStyle() const 2604 inline bool ComputedStyle::hasPseudoElementStyle() const
2605 { 2605 {
2606 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; 2606 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask;
2607 } 2607 }
2608 2608
2609 } // namespace blink 2609 } // namespace blink
2610 2610
2611 #endif // ComputedStyle_h 2611 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698