The issues api functions, Findissue() – Adobe Extending Dreamweaver CS4 User Manual
Page 133
127
EXTENDING DREAMWEAVER CS4
Browser compatibility check issues API
// if styles are declared for any colgroup or col
// tag in this table, we have a problem node. don't
// bother looking further.
props = window.getDeclaredStyle(allcol[x]);
property = "";
definedStyles.length = 0;
for (property in props) {
definedStyles.push(property);
}
if (definedStyles.length > 0){
issueNodes.push(currCap);
break;
}
}
}
}
}
return issueNodes;
}
function getAffectedBrowserDisplayNames(){
return new Array("Safari 2.0");
}
function getAffectedBrowserProfiles(){
return new Array("Safari 2.0");
}
function getIssueID(){
return "COL_AND_COLGROUP_CAPTURED_BY_CAPTION";
}
function getIssueName(){
return ISSUE_NAME;
}
function getIssueDescription(){
return ISSUE_DESC;
}
function getConfidenceLevel(){
//DETCON 4
return issueUtils.CONFIDENCE_HIGH;
}
The issues API functions
All of the functions in the issues API are required except for
getAffectedBrowserDisplayNames()
. As with all
extension APIs, you are responsible for writing the body of each function and returning an appropriate value to
Dreamweaver. For information about browser compatibility check functions, see the “Page Content” topic in the
Dreamweaver API Reference.
findIssue()
Availability
Dreamweaver CS3.