池添 浩之, hiikezoe
// nsIDocument* document;
nsAutoCString spec;
document->GetDocumentURI()->GetSpec(spec);
printf("document: %s\n", spec.get());
C++
// Element* element;
nsAutoString id;
element->GetId(id);
printf("element: %s\n",
NS_ConvertUTF16toUTF8(id).get());
// nsIFrame* frame;
if (frame->GetContent()->IsElement()) {
// elementから特定できるようになる
Element* element =
frame->GetContent()->AsElement();
var animation = div.getAnimations()[0];
animation.id = 'オレオレ';
C++
// Animation& animation;
nsAutoString id;
animation.GetId(id);
printf("animation id: %s\n",
NS_ConvertUTF16toUTF8(id).get());
TBD
// Animation& animation;
nsAutoString id;
animation.GetId(id);
if (id.EqualsLiteral("target")) {
... // ここにbreak point
}
// TimeStamp time;
bool unused;
TimeDuration duration =
time - TimeStamp::ProcessCreation(unused);
printf("%f\n", duration.ToMilliSeconds());
// nsCSSProperty property;
printf("%s\n",
nsCSSProps::PropertyIDLName(property));
// AnimValusStyleRule* styleRule;
styleRule->List();