Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Improve SourceCodeLocation accuracy. #100

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

iflan
Copy link
Member

@iflan iflan commented Oct 16, 2016

CssDeclarationNode did not have the SourceCodeLocation as a constructor
parameter, nor did it preserve it on a deep copy.

CssNodesListNode now tries to build its locations from its constituent nodes
unless a SourceCodeLocation is set explicitly.

Several bugs in the actual parser are also fixed as are numerous problems in
FixupFontDeclarations.

There are new tests and a SourceCodeLocationSubject for Truth which should
make new tests easier to write.

iflan added 2 commits October 16, 2016 21:53
CssDeclarationNode did not have the SourceCodeLocation as a constructor
parameter, nor did it preserve it on a deep copy.

CssNodesListNode now tries to build its locations from its constituent nodes
unless a SourceCodeLocation is set explicitly.

Several bugs in the actual parser are also fixed as are numerous problems in
FixupFontDeclarations.

There are new tests and a SourceCodeLocationSubject for Truth which should
make new tests easier to write.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants