MCPcopy Create free account
hub / github.com/w3c/epubcheck / endAtRule

Method endAtRule

src/main/java/com/adobe/epubcheck/css/CSSHandler.java:194–215  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

192 }
193
194 @Override
195 public void endAtRule(String name)
196 {
197 if (inFontFace)
198 {
199 inFontFace = false;
200 handleFontFaceInfo();
201 if (!hasFontFaceDeclarations)
202 {
203 report.message(MessageId.CSS_019,
204 EPUBLocation.of(context)
205 .at(atRule.getLocation().getLine(), atRule.getLocation().getColumn())
206 .context(atRule.toCssString()));
207 }
208 hasFontFaceDeclarations = false;
209 }
210 if (inKeyFrames)
211 {
212 inKeyFrames = false;
213 }
214 atRule = null;
215 }
216
217 @Override
218 public void selectors(List<CssSelector> selectors)

Callers

nothing calls this directly

Calls 9

handleFontFaceInfoMethod · 0.95
ofMethod · 0.95
messageMethod · 0.65
contextMethod · 0.45
atMethod · 0.45
getLineMethod · 0.45
getLocationMethod · 0.45
getColumnMethod · 0.45
toCssStringMethod · 0.45

Tested by

no test coverage detected