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

Side by Side Diff: sky/engine/core/css/parser/CSSTokenizer-in.cpp

Issue 788883005: Remove REM units. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
9 * Copyright (C) 2012 Intel Corporation. All rights reserved. 9 * Copyright (C) 2012 Intel Corporation. All rights reserved.
10 * 10 *
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 } 836 }
837 CASE("pt") { 837 CASE("pt") {
838 m_token = PTS; 838 m_token = PTS;
839 } 839 }
840 CASE("pc") { 840 CASE("pc") {
841 m_token = PCS; 841 m_token = PCS;
842 } 842 }
843 CASE("rad") { 843 CASE("rad") {
844 m_token = RADS; 844 m_token = RADS;
845 } 845 }
846 CASE("rem") {
847 m_token = REMS;
848 }
849 CASE("s") { 846 CASE("s") {
850 m_token = SECS; 847 m_token = SECS;
851 } 848 }
852 CASE("turn") { 849 CASE("turn") {
853 m_token = TURNS; 850 m_token = TURNS;
854 } 851 }
855 CASE("vw") { 852 CASE("vw") {
856 m_token = VW; 853 m_token = VW;
857 } 854 }
858 CASE("vh") { 855 CASE("vh") {
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
1347 m_dataStart16[length - 1] = 0; 1344 m_dataStart16[length - 1] = 0;
1348 1345
1349 m_is8BitSource = false; 1346 m_is8BitSource = false;
1350 m_currentCharacter8 = 0; 1347 m_currentCharacter8 = 0;
1351 m_currentCharacter16 = m_dataStart16.get(); 1348 m_currentCharacter16 = m_dataStart16.get();
1352 setTokenStart<UChar>(m_currentCharacter16); 1349 setTokenStart<UChar>(m_currentCharacter16);
1353 m_lexFunc = &CSSTokenizer::realLex<UChar>; 1350 m_lexFunc = &CSSTokenizer::realLex<UChar>;
1354 } 1351 }
1355 1352
1356 } // namespace blink 1353 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/css/parser/CSSPropertyParser.cpp ('k') | sky/engine/core/css/resolver/ElementResolveContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698